package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.AdminRoleMenuMaps;
import com.voltmao.persistent.model.AdminRoleMenuMapsCriteria;

import java.util.List;
import java.util.Map;

public interface AdminRoleMenuMapsMapper {
    int countByExample(AdminRoleMenuMapsCriteria example);

    int deleteByExample(AdminRoleMenuMapsCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(AdminRoleMenuMaps record);

    int insertSelective(AdminRoleMenuMaps record);

    List<AdminRoleMenuMaps> selectByExample(AdminRoleMenuMapsCriteria example);

    AdminRoleMenuMaps selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") AdminRoleMenuMaps record, @Param("example") AdminRoleMenuMapsCriteria example);

    int updateByExample(@Param("record") AdminRoleMenuMaps record, @Param("example") AdminRoleMenuMapsCriteria example);

    int updateByPrimaryKeySelective(AdminRoleMenuMaps record);

    int updateByPrimaryKey(AdminRoleMenuMaps record);

    AdminRoleMenuMaps selectByExampleForOne(AdminRoleMenuMapsCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(AdminRoleMenuMapsCriteria example);

    List<Map<String, Object>> selectMapByExample(AdminRoleMenuMapsCriteria example);
}